<!DOCTYPE html>

<html>
  <head>
    <meta charset="utf-8">
    <title>jQuery treetable Tests</title>
    <link rel="stylesheet" href="css/jquery.treetable.css">
    <link rel="stylesheet" href="css/jquery.treetable.theme.default.css">
    <script src="../jquery.min.js"></script>
    <script src="jquery.treetable.js"></script>
    <script>
      $(function(){
          $("#myTable").treetable({ expandable: true });
      });
    </script>

    

  </head>
  <body>
    <table id="myTable">
        <tr data-tt-id="1">
          <td>标题1</td>
          <td>biaot2</td>
        </tr>
        <tr data-tt-id="2" data-tt-parent-id="1">
            <td>子标题</td>
            <td>biaot2</td>
        </tr>
    </table>
  </body>
</html>
